package com.koron.ticket.workchange.ticketchangesecurityarrangement.service;


import com.koron.bean.base.Response;
import com.koron.ticket.workchange.ticketchangesecurityarrangement.bean.TicketChangeSecurityArrangement;
import com.koron.ticket.workchange.ticketchangesecurityarrangement.bean.TicketChangeSecurityArrangementQuery;
import org.koron.ebs.mybatis.SessionFactory;

import java.util.List;

/**
 * (TicketChangeSecurityArrangement)表服务接口
 *
 * @author 朱超
 * @since 2021-10-27 10:22:42
 */
public interface TicketChangeSecurityArrangementService {

    Response insert(SessionFactory factory, TicketChangeSecurityArrangement ticketChangeSecurityArrangement);

    Response deleteById(SessionFactory factory, String id);

    Response update(SessionFactory factory, TicketChangeSecurityArrangement ticketChangeSecurityArrangement);

    Response getById(SessionFactory factory, String id);

    TicketChangeSecurityArrangement getSingle(SessionFactory factory, TicketChangeSecurityArrangementQuery ticketChangeSecurityArrangementQuery);

    List<TicketChangeSecurityArrangement> getList(SessionFactory factory, TicketChangeSecurityArrangementQuery ticketChangeSecurityArrangementQuery);

    void deleteByWorkTicketId(SessionFactory factory, String workTicketId);
}
